﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Insert Customer.aspx.cs" Inherits="Insert_Customer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <table class="style1">
        <tr>
            <td class="style2" colspan="5" style="width: 148px">
                <asp:Label ID="Label1" runat="server" Text="Add Customer"></asp:Label>
            </td>
            <td class="style2">
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style2" colspan="5">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="12">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" style="width: 80px">
                <asp:Label ID="LIdentification" runat="server" Text="Identification:" 
                    style="text-align: justify"></asp:Label>
            </td>
            <td class="style2" colspan="10">
                <asp:TextBox ID="txtIdentification" runat="server" Width="155px"></asp:TextBox>
            </td>
            <td class="style2">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="2" style="width: 23px">
                <asp:Label ID="LfirstName" runat="server" Text="FirstName:"></asp:Label>
            </td>
            <td class="style2" colspan="8">
                <asp:TextBox ID="txtFirstName" runat="server" Width="152px" 
                    style="text-align: center"></asp:TextBox>
            </td>
            <td class="style2" colspan="2">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="3" style="width: 9px">
                <asp:Label ID="lastname" runat="server" Text="LasrtName:"></asp:Label>
            </td>
            <td class="style2" colspan="6">
                <asp:TextBox ID="txtLastName" runat="server" Width="152px"></asp:TextBox>
            </td>
            <td class="style2" colspan="3">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="4" style="width: 37px">
                <asp:Label ID="Lage" runat="server" Text="Age:"></asp:Label>
            </td>
            <td class="style2" colspan="4">
                <asp:TextBox ID="txtAge" runat="server" Width="152px"></asp:TextBox>
            </td>
            <td class="style2" colspan="4">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="4" style="width: 37px">
                <asp:Label ID="Label2" runat="server" Text="Address:"></asp:Label>
            </td>
            <td class="style2" colspan="4">
                <asp:TextBox ID="txtAddress" runat="server" Width="150px"></asp:TextBox>
            </td>
            <td class="style2" colspan="4">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="4" style="height: 12%; width: 37px">
                <asp:Label ID="Lphonenumber" runat="server" Text="Phone Number:"></asp:Label>
            </td>
            <td class="style2" colspan="4" style="height: 12%">
                <asp:TextBox ID="txtPhonenumber" runat="server" Width="151px"></asp:TextBox>
            </td>
            <td class="style2" colspan="4" style="height: 12%">
            </td>
            <td class="style4" style="height: 12%">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="4" style="width: 37px">
                <asp:Label ID="Lemail" runat="server" Text="Email:"></asp:Label>
            </td>
            <td class="style2" colspan="4">
                <asp:TextBox ID="txtEmail" runat="server" Width="149px"></asp:TextBox>
            </td>
            <td class="style2" colspan="4">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="3">
                &nbsp;</td>
            <td class="style2" colspan="3">
                <asp:Button ID="Button1" runat="server" Text="OK" OnClick="AddCustomer" Width="62px" />
            </td>
            <td class="style2" colspan="3">
                &nbsp;</td>
            <td class="style2" colspan="3">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="12">
                <asp:Label ID="LResult" runat="server"></asp:Label>
            </td>
            <td class="style4" rowspan="2">
&nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="12" style="color: #FF0000">
                <a href="Customer.aspx" runat="server">Customer List</a>
            </td>
        </tr>
    </table>

</asp:Content>

